<html>
<head>
	<meta charset="UTF-8">
	<title>应用模型信息详情</title>
	<link id="easyuiTheme" href="../../static/easyui/themes/bootstrap/easyui.css" rel="stylesheet" type="text/css"/>
	<link href="../../static/easyui/themes/icon.css" rel="stylesheet" type="text/css"/>
	<script src="../../static/easyui/jquery.min.js" type="text/javascript"></script>
	<script src="../../static/easyui/jquery.cookie.js" type="text/javascript"></script>
	<script src="../../static/easyui/ui-theme.js" type="text/javascript"></script>
	<script src="../../static/easyui/jquery.easyui.min.js" type="text/javascript" charset="utf-8"></script>
	<script src="../../static/easyui/locale/easyui-lang-zh_CN.js" type="text/javascript"></script>
	<script src="../../static/plugin/assets/jslib.util.js" type="text/javascript"></script>
	<script src="../../static/plugin/assets/jslib.jquery.ajax.js" type="text/javascript"></script>
	<script src="../../static/plugin/assets/jslib.easyui.util.js" type="text/javascript"></script>
	<script src="../../ffres/dict/all.js" type="text/javascript"></script>
	<link href="../../static/easyui/themes/frameless.css" rel="stylesheet" type="text/css"/>
	<a href="" target="_blank" id="commonLink" name="commonLink"></a>
</head>
<body class="easyui-layout">
	<form id="ff" method="post">
		<div class="esaas-info-title">应用模型信息信息</div>
		<table class="esaas-info-edit-table">
			<tr>
				<td width="25%" align="right">应用唯一标识：</td>
				<td width="75%"><input class="easyui-textbox" type="text" readonly
									   id="appId" name="appId" data-options="required:true"
									   style="width: 85%; height: 25px;">
				</input></td>
			</tr>
			<tr>
				<td width="25%" align="right">业务模型分类：</td>
				<td width="75%"><select class="easyui-combobox"
										id="appModelCatalog" name="appModelCatalog" readonly
										style="width: 100%; height: 25px;"
										data-options="required:false,editable:false,valueField:'enname',textField:'cnname',data:APP_MODEL_CATALOG">
				</select></td>
			</tr>
			<tr>
				<td width="25%" align="right">业务模型类型：</td>
				<td width="75%"><select class="easyui-combobox"
										id="appModelType" name="appModelType" readonly
										style="width: 85%; height: 25px;"
										data-options="required:true,editable:false,valueField:'enname',textField:'cnname',data:APP_MODEL_TYPE">
				</select></td>
			</tr>
			<tr>
				<td width="25%" align="right">目录包标识：</td>
				<td width="75%"><input class="easyui-textbox" type="text"
									   id="packageId" name="packageId" data-options="required:false"
									   style="width: 100%; height: 25px;"></input></td>
			</tr>
			<tr>
				<td width="25%" align="right">业务模型代码：</td>
				<td width="75%"><input class="easyui-textbox" type="text"
									   name="appModelCode" data-options="required:true"
									   style="width: 100%; height: 25px;"></input></td>
			</tr>
			<tr>
				<td width="25%" align="right">业务模型名称：</td>
				<td width="75%"><input class="easyui-textbox" type="text"
									   name="appModelName" data-options="required:true"
									   style="width: 100%; height: 25px;"></input></td>
			</tr>
		</table>
	</form>
	<div style="text-align:center;padding:15px">
		<a href="javascript:void(0)" class="easyui-linkbutton" onclick="closeForm()">&nbsp;关&nbsp;闭&nbsp;</a>
	</div>
	</div>
	<script>

		var appId = $.getUrlParam('appId');
		$(function() {
			var appModelId = $.getUrlParam('appModelId');
			var appModelCode = $.getUrlParam('appModelCode');
			var appModelName = $.getUrlParam('appModelName');
			var createUser = $.getUrlParam('createUser');
			var createTime = $.getUrlParam('createTime');
			var lastUpdateUser = $.getUrlParam('lastUpdateUser');
			var lastUpdateTime = $.getUrlParam('lastUpdateTime');
			$.restfulGet('../../api/app/model/info/' + appModelId ,null,function(data){
					$('#ff').form('load', {
						appId : data.rows.appId,
						appModelId : data.rows.appModelId,
						appModelCode : data.rows.appModelCode,
						appModelName : data.rows.appModelName,
						appModelCatalog : data.rows.appModelCatalog,
						appModelType : data.rows.appModelType,
						packageId : data.rows.packageId,
						tableModelId : data.rows.tableModelId,
						tableModelCode : data.rows.tableModelCode,
						tableModelName : data.rows.tableModelName,
						createUser : data.rows.createUser,
						createTime : data.rows.createTime,
						lastUpdateUser : data.rows.lastUpdateUser,
						lastUpdateTime : data.rows.lastUpdateTime
					});
			});
		});
		function closeForm(){
			window.parent.JLEUtil.closewin();
		}
	</script>
</body>
</html>
